﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace UniversityStudentManagemnetSystem.DAO.DAL
{
    public class Teacher
    {
        private int id;
        private string teacherName;
        private string address;
        private string email;
        private string contactNumber;
        private string credit;
        private Department department;
        private Designation designation;
        private Course course;
        private Credit credits;


        public Teacher (string teacherName,string address,string email, string contactNumber,string credit):this()
        {
            this.teacherName = teacherName;
            this.Address = address;
            this.email = email;
            this.contactNumber = contactNumber;
            this.credit = credit;
        }

        public Teacher()
        {
            department = new Department();
            designation = new Designation();
            course = new Course();
            Credits = new Credit();
        }

        public string TeacherName
        {
            get { return teacherName; }
            set { teacherName = value; }
        }

        public string Address
        {
            get { return address; }
            set { address = value; }
        }

        public string Email
        {
            get { return email; }
            set { email = value; }
        }

        public string ContactNumber
        {
            get { return contactNumber; }
            set { contactNumber = value; }
        }

        public string Credit
        {
            get { return credit; }
            set { credit = value; }
        }

        public Department Department
        {
            get { return department; }
            set { department = value; }
        }

        public Designation Designation
        {
            get { return designation; }
            set { designation = value; }
        }

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public Course Course
        {
            get { return course; }
            set { course = value; }
        }

        public Credit Credits
        {
            get { return credits; }
            set { credits = value; }
        }
    }
}